package com.tianji.chat.domain.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@ApiModel(description = "用户端互动任务的信息")
public class TaskVO {
    @ApiModelProperty("主键id")
    private Long id;
    @ApiModelProperty("互动任务名称")
    private String title;
    @ApiModelProperty("互动任务描述")
    private String description;
    @ApiModelProperty("回答数量，0表示没有回答")
    private Integer answerTimes;
    @ApiModelProperty(value = "创建时间", example = "2022-7-18 19:52:36")
    private LocalDateTime createTime;
    @ApiModelProperty("是否匿名使用")
    private Boolean anonymity;
    @ApiModelProperty("用户id")
    private Long userId;
    @ApiModelProperty("用户昵称")
    private String userName;
    @ApiModelProperty("用户头像")
    private String userIcon;
    @ApiModelProperty("知识文件id")
    private Long courseId;
    @ApiModelProperty("是否点过赞")
    private Boolean liked;
    @ApiModelProperty("点赞数量")
    private Integer likedTimes;

}